#include <QtCore/QString>
#include <QtCore/QDir>
#include <QDebug>
#include "fusionnotify.h"

using namespace std;

int main(int argc, char** argv)
{
    QCoreApplication app(argc, argv);
    FusionNotify a = FusionNotify();
    QString path;
    if(argc > 0)
    {
        QDir dir = QDir(argv[0]);
        dir.cdUp();
        path = "file://" + dir.absolutePath() + "/test_icon.jpg";
        qDebug() << path;
    }
    else
    {
        path = "";
    }
    QStringList d;
    d << "Close" << "Close me";
    a.notify("FusionNotifyTester", path, "Hello There!", 3*1000,0,QString(),d);
    a.notify("FusionNotifyTester", path, "Bye!", 3*1000);
    return 0;
}

